package com.zretc.entity;

/**
 * 工资账套实体类
 * @author wangxinghang
 *
 */
public class Salary {
    //编码
    private Integer id;
    //账套名称
    private String name;
    //基本工资
    private double basicSalary;
    //奖金
    private double bonus;
    //午餐补助
    private double lunchSalary;
    //交通补助
    private double trafficSalary;
    //养老金基数
    private double pensionBase;
    //养老金比例
    private double pensionPer;
    //医疗金基数
    private double medicalBase;
    //医疗保险比率
    private double medicalPer;
    //公积金基数
    private double accumulationFundBase;
    //公积金比率
    private double accumulationFundPer;
    //启用时间
    private  String createDate;

    public Salary() {
    }


    public Salary(Integer id, String name, double basicSalary, double bonus, double lunchSalary, double trafficSalary, double pensionBase, double pensionPer, double medicalBase, double medicalPer, double accumulationFundBase, double accumulationFundPer, String createDate) {
        this.id = id;
        this.name = name;
        this.basicSalary = basicSalary;
        this.bonus = bonus;
        this.lunchSalary = lunchSalary;
        this.trafficSalary = trafficSalary;
        this.pensionBase = pensionBase;
        this.pensionPer = pensionPer;
        this.medicalBase = medicalBase;
        this.medicalPer = medicalPer;
        this.accumulationFundBase = accumulationFundBase;
        this.accumulationFundPer = accumulationFundPer;
        this.createDate = createDate;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(double basicSalary) {
        this.basicSalary = basicSalary;
    }

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    public double getLunchSalary() {
        return lunchSalary;
    }

    public void setLunchSalary(double lunchSalary) {
        this.lunchSalary = lunchSalary;
    }

    public double getTrafficSalary() {
        return trafficSalary;
    }

    public void setTrafficSalary(double trafficSalary) {
        this.trafficSalary = trafficSalary;
    }

    public double getPensionBase() {
        return pensionBase;
    }

    public void setPensionBase(double pensionBase) {
        this.pensionBase = pensionBase;
    }

    public double getPensionPer() {
        return pensionPer;
    }

    public void setPensionPer(double pensionPer) {
        this.pensionPer = pensionPer;
    }

    public double getMedicalBase() {
        return medicalBase;
    }

    public void setMedicalBase(double medicalBase) {
        this.medicalBase = medicalBase;
    }

    public double getMedicalPer() {
        return medicalPer;
    }

    public void setMedicalPer(double medicalPer) {
        this.medicalPer = medicalPer;
    }

    public double getAccumulationFundBase() {
        return accumulationFundBase;
    }

    public void setAccumulationFundBase(double accumulationFundBase) {
        this.accumulationFundBase = accumulationFundBase;
    }

    public double getAccumulationFundPer() {
        return accumulationFundPer;
    }

    public void setAccumulationFundPer(double accumulationFundPer) {
        this.accumulationFundPer = accumulationFundPer;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Salary{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", basicSalary=" + basicSalary +
                ", bonus=" + bonus +
                ", lunchSalary=" + lunchSalary +
                ", trafficSalary=" + trafficSalary +
                ", pensionBase=" + pensionBase +
                ", pensionPer=" + pensionPer +
                ", medicalBase=" + medicalBase +
                ", medicalPer=" + medicalPer +
                ", accumulationFundBase=" + accumulationFundBase +
                ", accumulationFundPer=" + accumulationFundPer +
                ", createDate='" + createDate + '\'' +
                '}';
    }
}
